package com.lwm.service;

import com.lwm.domain.SalesContractMaterials;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SalesContractMaterialsService {
    /**
     * 获取列表
     *
     * @param ids ids
     * @return {@link List}<{@link SalesContractMaterials}>
     */
    List<SalesContractMaterials> getList(List<Long> ids);

    /**
     * 删除通过销售额合同编码
     *
     * @param id 编码
     * @return {@link Integer}
     */
    Integer removeBySalesContractId(Long id);

    /**
     * 批量插入
     *
     * @param salesContractMaterials 销售合同材料
     * @return {@link Integer}
     */
    Integer batchInsert(List<SalesContractMaterials> salesContractMaterials);
}
